package com.zk.service;

import java.util.List;

import com.zk.entity.Person;

public interface PersonService {

	/**
	 * increase person
	 * @param person
	 */
	public void addPerson(Person person);
	
	/**
	 * Get person information interface
	 * Instruction:It's required 3 arguments,the last argument is List type
	 * @param starttime 
	 * @param endtime 
	 * @param deptid 
	 */
	public  List<Person> getPerson(String starttime,String endtime,List<String> deptid);
	/**
	 * update person interface
	 * @param person
	 */
	public void updatePerson(Person person);
	/**
	 * delete person logic
	 * @param person
	 */
	public void deletePersonLogic(Person person);
	/**
	 * delete person
	 * @param person
	 */
	public void deletePerson(Person person);
}
